package com.ruoyi.baseData.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;

@Data
@ExcelIgnoreUnannotated
@HeadFontStyle(fontName = "Arial",fontHeightInPoints=10)
@ContentFontStyle(fontName = "Arial",fontHeightInPoints=9)
@ColumnWidth(12)
public class MaterialVo extends BaseEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     *
     */
    @ExcelProperty(index = 0,value = "编码")
    private String code;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String remark;


    private String memo;

    /**
     * 单位
     */
    private String unit;

    /**
     * 物料分类ID new
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long materialTypeId;

    private String materialTypeName;


    /**
     * 熟化时间 new
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long maturingTime;

    /**
     * 测试时间 new
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long testTime;




    /**
     * 质检条目相关配置项绑顶到物料上面
     */
    private Double lowerTolerance;

    /**
     * 质检条目相关配置项绑顶到物料上面
     */
    private Double upperTolerance;

    /**
     * 质检条目相关配置项绑顶到物料上面
     */
    private Double standardValue;

    /**
     * 质检条目相关配置项绑顶到物料上面
     */
    private String passed;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inspectionTemplateId;
    /**
     * 模板名称
     */
    private String inspectionTemplateName;

    /**
     * 规格
     */
    private String spec;

}
